CREATE EXTERNAL TABLE IF NOT EXISTS spmi_ods.spmi_opt_refund_repayment_global(
id                                                 bigint                         COMMENT '主键',
fee_type_id                                        bigint                         COMMENT '费用类型',
bill_date                                          String                         COMMENT '转预付款日期',
create_time                                        timestamp                      COMMENT '创建时间'
)
COMMENT '退转操作费重新转预付款索引表'
PARTITIONED BY (dt STRING COMMENT '更新/创建日期 (yyyy-MM-dd)')
STORED AS PARQUET
LOCATION '/dw/hive/spmi_ods.db/external/spmi_opt_refund_repayment_global'
TBLPROPERTIES (
  'parquet.column.index.access'='true'
);